<!DOCTYPE html>
<html lang="zh-cn">
<#include "../include/resource-head.ftl"/>
<body>
<#include "../include/common-header.ftl"/>

<div class="container col-center-block">
    <div class="item-list-top">
        <div class="pull-left"></div>
        <div class="pull-right">
            <a href="${url?replace('type','')}" <#if !type?exists>class="text-red"</#if>>默认</a>
            <a href="${url?replace('type','')}&type=0" <#if '0' == type!>class="text-red"</#if>>普通商品</a>
            <a href="${url?replace('type','')}&type=1" <#if '1' == type!>class="text-red"</#if>>定制商品</a>
        </div>
    </div>
    <#if pageInfo.list?? && pageInfo.list?size gt 0>
        <div class="item-list ">
            <#list pageInfo.list as item>
                <div class="item">
                    <a href="/goods/detail/${item.id}"><img src="/data/${item.icon}"></a>
                    <div class="item-info">
                        <div class="clearfix item-info-row">
                            <span class="pull-left text-red font-16"><strong>￥${item.price?string('#0.00')}</strong></span>
                            <span class="pull-right color-grey">销售${item.times!0}件</span>
                        </div>
                        <div class="clearfix item-info-row font-12">${item.descript!}</div>
                        <#--<div class="clearfix item-info-row"><i class="icon icon-list text-red">&nbsp;</i>
                            <a href="#" class="color-grey">ppp</a>
                        </div>-->
                    </div>
                </div>
            </#list>
        </div>
    <#else>
    <div class="text-center">
        <h2>没有数据</h2>
    </div>
    </#if>

</div>
<#include "../include/common-foot.ftl"/>
</body>
<#include "../include/resource-script.ftl"/>
<script>
</script>
</html>